package cn.zn.flow.mapper;

import cn.zn.flow.entity.FlowRollback;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 回退记录 Mapper 接口
 * </p>
 *
 * @author zn-admin
 * @since 2021-07-13
 */
public interface FlowRollbackMapper extends BaseMapper<FlowRollback> {

    /**
     * 业务表回退
     *
     * @param table  表
     * @param id     id
     * @param status 状态
     * @param reason 原因
     */
    void tableRollback(String table, String id, String status, String reason);

}
